package com.bzkj.common.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;
import java.util.Set;

/**
 * @projectName: bzkj-wms
 * @package: com.bzkj.document.domain.purchase
 * @className: OrderRequestDTO
 * @description: 请求NCC采购订单DTO
 * @author: C1309
 * @createDate: 2024年11月18日
 * @version: v1.0
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class NccRequestDTO {
    @JsonProperty(value = "pk_org", defaultValue = "111")
    String pkOrg = "111";

    /**
     * 单据日期，格式为区间
     */
    @JsonProperty("dbilldate")
    private String dbillDate;


    /**
     * 单据编码
     */
    @JsonProperty("vbillcode")
    private List<String> vBillCode;

    /**
     * 供应商
     */
    @JsonProperty("pk_supplier")
    private String supplier;

    /**
     * 采购员
     */
    @JsonProperty("cemployeeid")
    private String employeeId;

    /**
     * 采购类型
     */
    @JsonProperty("ctrantypeid")
    private String tranTypeId;

    /**
     * 单据是否关闭
     */
    @JsonProperty(value = "pk_order_b.bstockclose")
    private String bstockclose;

    @JsonProperty("pk_order_b.pk_material")
    private String pkMaterial;

    @JsonProperty(value = "fbillflag")
    private String fbillflag;

    @JsonProperty("cwarehouseid")
    private Set<String> warehouseid;

    @JsonProperty("cotherwhid")
    private Set<String> cotherwhid;

    @JsonProperty("cbizid")
    private String cbizid;

    @JsonProperty("cdptvid")
    private String cdptvid;

    @JsonIgnore
    private Integer pageNum;

    @JsonIgnore
    private Integer pageSize;

    @JsonIgnore
    private String tansType;

    public String getDbillDate() {
        return dbillDate;
    }

    public void setDbillDate(String dbillDate) {
        this.dbillDate = dbillDate;
    }

    public List<String> getvBillCode() {
        return vBillCode;
    }

    public void setvBillCode(List<String> vBillCode) {
        this.vBillCode = vBillCode;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String getTranTypeId() {
        return tranTypeId;
    }

    public void setTranTypeId(String tranTypeId) {
        this.tranTypeId = tranTypeId;
    }

    public String getBstockclose() {
        return bstockclose;
    }

    public void setBstockclose(String bstockclose) {
        this.bstockclose = bstockclose;
    }

    public String getPkMaterial() {
        return pkMaterial;
    }

    public void setPkMaterial(String pkMaterial) {
        this.pkMaterial = pkMaterial;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getFbillflag() {
        return fbillflag;
    }

    public void setFbillflag(String fbillflag) {
        this.fbillflag = fbillflag;
    }

    public String getPkOrg() {
        return pkOrg;
    }

    public void setPkOrg(String pkOrg) {
        this.pkOrg = pkOrg;
    }

    public Set<String> getWarehouseid() {
        return warehouseid;
    }

    public void setWarehouseid(Set<String> warehouseid) {
        this.warehouseid = warehouseid;
    }

    public String getCbizid() {
        return cbizid;
    }

    public void setCbizid(String cbizid) {
        this.cbizid = cbizid;
    }

    public String getCdptvid() {
        return cdptvid;
    }

    public void setCdptvid(String cdptvid) {
        this.cdptvid = cdptvid;
    }

    public String getTansType() {
        return tansType;
    }

    public void setTansType(String tansType) {
        this.tansType = tansType;
    }

    public Set<String> getCotherwhid() {
        return cotherwhid;
    }

    public void setCotherwhid(Set<String> cotherwhid) {
        this.cotherwhid = cotherwhid;
    }

    @Override
    public String toString() {
        return "NccRequestDTO{" +
                "pkOrg='" + pkOrg + '\'' +
                ", dbillDate='" + dbillDate + '\'' +
                ", vBillCode=" + vBillCode +
                ", supplier='" + supplier + '\'' +
                ", employeeId='" + employeeId + '\'' +
                ", tranTypeId='" + tranTypeId + '\'' +
                ", bstockclose='" + bstockclose + '\'' +
                ", pkMaterial='" + pkMaterial + '\'' +
                ", fbillflag='" + fbillflag + '\'' +
                ", warehouseid=" + warehouseid +
                ", cotherwhid=" + cotherwhid +
                ", cbizid='" + cbizid + '\'' +
                ", cdptvid='" + cdptvid + '\'' +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", tansType='" + tansType + '\'' +
                '}';
    }
}
